package HomeWork01;

/*
请编写程序，分别定义8种基本数据类型的变量，并打印变量的值。
 */
public class DailyTest03 {
    public static void main(String[] args) {
        //整形
        byte b = 3;
        short s = 55;
        int i = 800;
        long l = 14589;

        //浮点型
        float f = 12.3F;
        double d = 18.999999999;

        //字符型
        char c = 'T';

        //布尔型
        boolean bl = true;
        System.out.println(b);
        System.out.println(s);
        System.out.println(i);
        System.out.println(l);
        System.out.println(f);
        System.out.println(d);
        System.out.println(c);
        System.out.println(bl);

    }
}
